import { createApp } from "vue";
import App from "./App.vue";

// 引入路由
import router from "./routers";
// 引入ElementPlus
import ElementPlus from "element-plus";
// 引入ElementPlus的css
import "element-plus/dist/index.css";
// 引入仓库pinia
import pinia from "./stores/index.ts";
// 引入styles
import "@/styles/index.scss";
// 创建app
const app = createApp(App);
// 注册ElementPlus
app.use(ElementPlus);
// 注册路由
app.use(router);
// 注册pinia
app.use(pinia);
// 挂载
app.mount("#app");
